﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0062)http://localhost:11240/Members/OnLineExpo/OnLineExpoInfo?eid=0 -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script src="https://simg.instrument.com.cn/JavaScript/jquery-1.7.1.min.js" type="text/javascript"></script>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>布置展位_光谱仪器在线展览会 仪信通会员管理中心 仪器信息网</title>

    <script language="javascript" type="text/javascript">
        var WcfUrl = "https://wcf.instrument.com.cn/";
        $(document).ready(function () {
            getwah();
            $("#menu_container div.bgul").click(function () {
                $(this).next("div.lefl").slideToggle(300).siblings("div.lefl").slideUp("slow");
                $(this).siblings();
            });
            var showName = "OnLineExpo/OnLineExpoInfo";
            if (showName != "") {
                $("#menu_container div.lefl a[href*='" + showName + "']").parents(".lefl").show();
            }
        });
        $(window).resize(function () {
            getwah();
        });

    </script>
    <style type="text/css">
        .touch {
            background-color: #ddd;
        }

        .img-list {
            margin: 10px 5px;
        }

            .img-list li {
                position: relative;
                display: inline-block;
                width: 120px;
                height: 120px;
                margin: 5px 5px 20px 5px;
                border: 1px solid rgb(100,149,198);
                background: #fff no-repeat center;
                background-size: cover;
            }

        .progress {
            position: absolute;
            width: 100%;
            height: 20px;
            line-height: 20px;
            bottom: 0;
            left: 0;
            background-color: rgba(100,149,198,.5);
            text-align: center;
            font-size: 13px;
            color: #fff;
        }

            .progress span {
                display: block;
                width: 0;
                height: 100%;
                background-color: #3987d9;
                ;
                text-align: center;
                color: #FFF;
                font-size: 13px;
                position: absolute;
                bottom: 0px;
            }

        .size {
            position: absolute;
            width: 100%;
            height: 15px;
            line-height: 15px;
            bottom: -18px;
            text-align: center;
            font-size: 13px;
            color: #666;
        }

        .tips {
            display: block;
            text-align: center;
            font-size: 13px;
            margin: 10px;
            color: #999;
        }

        .pic-list {
            line-height: 18px;
            font-size: 13px;
        }

            .pic-list a {
                display: block;
                margin: 10px 0;
            }

                .pic-list a img {
                    vertical-align: middle;
                    max-width: 30px;
                    max-height: 30px;
                    margin: -4px 0 0 10px;
                }

        #fileload, #upload, .uploadbtnr {
            background: #4aa4e1 -moz-linear-gradient(center top, #57b3f0, #439dd9) repeat scroll 0 0;
            background-color: #4aa4e1;
            border: 1px solid #4aa4e1;
            border-radius: 2px;
            box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.3);
            color: #fff;
            display: inline-block;
            height: 34px;
            line-height: 34px;
            font-size: 16px;
            text-align: center;
            width: 90px;
            cursor: pointer;
        }

            .uploadbtnr :hover {
                color: none !important;
                text-decoration: none;
            }

        .formli li {
            margin: 0 !important;
        }

        .img_close {
            background: rgba(0,0,0,0) url("https://simg.instrument.com.cn/wap/news/images/04.png") no-repeat scroll 0 0 / 20px 20px;
            display: block;
            height: 20px;
            margin: auto;
            position: absolute;
            right: -10px;
            top: -10px;
            width: 20px;
        }

        .hand {
            cursor: pointer;
        }

        .none {
            display: none;
        }

        .break-word {
            word-wrap: break-word;
            break-word: break-all;
            table-layout: fixed;
            word-break: break-all;
        }

        .file_close {
            background: rgba(0,0,0,0) url("https://simg.instrument.com.cn/wap/news/images/04.png") no-repeat scroll 0 0 / 20px 20px;
            right: 10px;
            display: inline-block;
            height: 20px;
            margin: auto;
            position: absolute;
            width: 20px;
            top: 10px;
        }

        .guetshove {
            background-image: -moz-linear-gradient(top,#effaff,#def3ff)!important;
            background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0,#effaff),color-stop(1,#def3ff))!important;
        }

        .uploadbtn {
            background: #4aa4e1 -moz-linear-gradient(center top, #57b3f0, #439dd9) repeat scroll 0 0;
            background-color: #4aa4e1;
            border: 1px solid #4aa4e1;
            border-radius: 2px;
            box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.3);
            color: #FFF;
            display: inline-block;
            height: 34px;
            line-height: 34px;
            font-size: 16px;
            text-align: center;
            width: 90px;
            cursor: pointer;
        }

        .clearfix {
            *zoom: 1;
        }

            .clearfix:after {
                clear: both;
                height: 0;
                overflow: hidden;
                display: block;
                visibility: hidden;
                content: "";
            }

        .appshow {
            position: fixed;
            width: 140px;
            height: 187px;
            top: 350px;
            right: 35px;
            background-image: url(https://simg.instrument.com.cn/custom/app/images/app_bg.png?v1);
        }

        #wx_close {
            top: -17px;
            position: absolute;
            cursor: pointer;
        }

        .appcontent {
            width: 140px;
            height: 187px;
            text-align: center;
            float: left;
            margin-top: 6px;
            line-height: 22px;
        }

        .bgmain {
            background-color: #000;
            height: 100%;
            left: 0;
            position: fixed !important;
            top: 0;
            width: 100%;
            z-index: 99;
            background: rgba(0, 0, 0, 0.5);
        }

        .bgorange {
            background-color: #ff9900;
        }

        .white {
            color: #fff;
        }

        .btn_add3 {
            border: 1px solid #e6e6e6;
            height: 30px;
            line-height: 30px;
            padding: 0 25px;
            right: 0;
            border-radius: 4px;
        }

        .bgWhite {
            background-color: #fff;
        }
    </style>
    <style type="text/css">
        #ie6-warning {
            background-color: #CCC;
            position: absolute;
            top: 0;
            left: 0;
            font-size: 14px;
            color: #333;
            width: 100%;
            padding: 10px 0px 10px 0px;
            text-align: center;
        }

            #ie6-warning a {
                text-decoration: none;
            }
    </style>
</head>
<!--判断是否为IE6-->


<body>








        <!--left end-->
        <!--right stat-->
        <div class="main_right" style="width: 1703px;">
            <div id="maincontent">
                <style type="text/css">
                    .seting {
                        float: left;
                        width: 795px;
                        background-color: #fafafa;
                        margin-top: 10px;
                        border: 1px solid #f3f3f3;
                    }

                        .seting ul {
                            float: left;
                        }

                            .seting ul li {
                                width: 615px;
                                float: left;
                                text-indent: 5px;
                            }

                    .wd120 {
                        width: 120px!important;
                    }

                    .mt20 {
                        margin-top: 20px;
                    }

                    .mt10 {
                        margin-top: 10px;
                    }

                    .wd60 {
                        width: 60px!important;
                    }

                    .Productpanl {
                        overflow: hidden;
                    }

                    a.Ns_Gtrash:link, a.Ns_Gtrash:visited, a.Ns_Gtrash:active {
                        margin: 3px!important;
                    }

                    .nowselect {
                        color: #35a1eb!important;
                    }
                </style>
                <div class="toolbar">
                    <div class="toolbartitle">光谱仪器在线展览会</div>
                    <div class="toolbarbutton">
                        <a href="https://img1.17img.cn/ui/simg/instrument/SH100000/20180420/spectrum/image/zhanwei.jpg?v1" target="_blank" class="LoMenu" style="width: 90px;">效果预览</a>
                    </div>

                </div>
                <div class="P10 MRL20" style="margin-top: 0px; margin-bottom: 15px;">

                    <form action="http://localhost:11240/Members/OnLineExpo/OnLineExpoInfo/ExpoInfoEdit" id="OnLineExpoInfo" method="post" novalidate="novalidate">
                        <table width="100%" cellspacing="0" cellpadding="3" border="0">

                            <input id="metid" type="hidden" name="metid" value="0">
                            <tbody>
                                <tr>
                                    <td style="width: 100%;" colspan="2">
                                        <div class="panl_title" style="margin-bottom: 5px;">确定展区</div>
                                    </td>
                                </tr>
                               
                                <tr>
                                    <td style="width: 100%;" colspan="2">
                                        <div class="panl_title" style="margin-bottom: 5px;">宣传视频</div>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" width="100" valign="top">选择视频：</td>
                                    <td class="seting">

                                        <style type="text/css">
                                            a.dmenu:link, a.bgredmin:visited, a.bgredmin:active {
                                                height: 27px;
                                                background: #4aa4e1;
                                                border: 1px solid #4aa4e1;
                                                line-height: 27px;
                                                text-align: center;
                                                color: #fff;
                                                display: inline-block;
                                                padding: 0 20px;
                                                border-radius: 2px;
                                                text-decoration: none;
                                                font-size: 15px;
                                                box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.3);
                                            }

                                            .uploadvideobtn {
                                                background: #4aa4e1 -moz-linear-gradient(center top, #57b3f0, #439dd9) repeat scroll 0 0;
                                                background-color: #4aa4e1;
                                                border: 1px solid #4aa4e1;
                                                border-radius: 2px;
                                                box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.3);
                                                color: #FFF;
                                                display: inline-block;
                                                height: 27px;
                                                line-height: 27px;
                                                font-size: 15px;
                                                text-align: center;
                                                width: 90px;
                                                cursor: pointer;
                                                margin-left: 10px;
                                            }

                                            .grey9 {
                                                color: #999;
                                            }

                                            .tablelist th, .tablelist td, th, td {
                                                line-height: 25px!important;
                                            }
                                        </style>
                                        <!--导航 start-->
                                        <script src="./1_files/swfobject.js.下载"></script>
                                        <table>
                                            <tbody id="divUploadVideo" style="width: 600px; float: left;">
                                                <tr>
                                                    <td style="width: 520px">
                                                        <div style="float: left;">
                                                            <span>重新上传视频</span>
                                                            <input class="inputtime" type="text" name="videofile" id="videofile" readonly="" style="width: 100px; height: 20px;">
                                                        </div>
                                                        <div style="position: relative;">
                                                            <div id="swfDiv" style="width: 92px; height: 28px; position: absolute; z-index: 999999; right: 278px;">
                                                                <embed type="application/x-shockwave-flash" src="https://union.bokecc.com/flash/api/uploader.swf" width="80" height="25" style="undefined" id="uploadswf" name="uploadswf" quality="high" allowfullscreen="true" allowscriptaccess="always" wmode="transparent" flashvars="progress_interval=1&amp;notify_url=https://www.instrument.com.cn/webinar/Video/UploadCallBack/104284">
                                                            </div>
                                                            <span class="uploadvideobtn">选择视频</span>
                                                            <a href="javascript:void(0);" onclick="submitvideo();" class="dmenu">开始上传</a>
                                                            <input type="hidden" id="hdvideoid" value="104284">
                                                        </div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="4">
                                                        <input id="videoidshow" type="hidden" name="videoidshow" value="">
                                                        <div class="progressbar" style="height: 24px; display: none">
                                                            <div class="progress-label">准备上传，请稍后...</div>
                                                        </div>
                                                        <span class="grey9"><span class="font-num">*</span>目前支持视频上传格式为.avi;.mov;.flv;.rm;.rmvb;.mpg;.wmv;.mp4;.vob</span><br>
                                                        <span class="grey9"><span class="font-num">*</span>建议上传视频不超过50M,暂不支持上传过大文件，如课件视频文件过大，可使用软件拆分后上传。</span><br>
                                                        <span class="grey9"><span class="font-num">*</span>请在上传完视频文件后点击页面底部确定按钮进行保存。</span>

                                                    </td>
                                                </tr>
                                            </tbody>

                                        </table>
                                        <script>
                                            $(document).ready(function () {
                                                //视频上传
                                                $("#hdvideoid").val(104284);
                                                $("#FormInfo").hide();//隐藏表单
                                                $("#divUploadVideo").show();//显示上传按钮
                                                InitUploadBtn(104284);//加载上传按钮
                                            });

                                            function InitUploadBtn(_videoid) {
                                                swfobj = new SWFObject('https://union.bokecc.com/flash/api/uploader.swf', 'uploadswf', '80', '25', '8');
                                                swfobj.addVariable("progress_interval", 1); //	上传进度通知间隔时长（单位：s）
                                                swfobj.addVariable("notify_url", "https://www.instrument.com.cn/webinar/Video/UploadCallBack/" + _videoid); //	上传视频后回调接口
                                                swfobj.addParam('allowFullscreen', 'true');
                                                swfobj.addParam('allowScriptAccess', 'always');
                                                swfobj.addParam('wmode', 'transparent');
                                                swfobj.write('swfDiv');
                                            }
                                            function on_spark_selected_file(filename, file_size) {
                                                $("#videofile").val(filename);
                                            }

                                            //上传视频
                                            function submitvideo() {

                                                var _videoid = $("#hdvideoid").val();
                                                var file = $('#videofile').val();
                                                if (file == '') {
                                                    alert('请选择您要上传的视频，然后再点击上传按钮!');
                                                    return;
                                                }
                                                var vid = $("#videoidshow").val();
                                                if (vid != "") {
                                                    if (window.confirm("确定要修改上传视频吗")) {
                                                        selectVideo(_videoid);
                                                    }
                                                } else {
                                                    selectVideo(_videoid);
                                                }
                                            }
                                            function selectVideo(_videoid) {
                                                var data = { title: _videoid, description: '1', tag: '1', year: 2018 };
                                                var url = "https://www.instrument.com.cn/members/WeChat/Home/GetUploadCode";
                                                $.get(url, data, function (re) {
                                                    document.getElementById("uploadswf").start_upload(re); //	调用flash上传函数
                                                });
                                            }
                                            //-------------------
                                            //调用者：flash
                                            //功能：验证上传是否正常进行函数
                                            //时间：2010-12-22
                                            //说明：用户可以加入相应逻辑
                                            //-------------------
                                            function on_spark_upload_validated(status, videoid) {

                                                if (status == "OK") {
                                                    //上传成功的cc视频id
                                                    $("#videoidshow").val(videoid);
                                                    $(".progressbar").show();
                                                } else if (status == "NETWORK_ERROR") {
                                                    alert("网络错误");
                                                } else {
                                                    alert("api错误码：" + status);
                                                }
                                            }

                                            //-------------------
                                            //调用者：flash
                                            //功能：通知上传进度函数
                                            //时间：2010-12-22
                                            //说明：用户可以加入相应逻辑
                                            //-------------------
                                            function on_spark_upload_progress(progress) {

                                                if (progress == -1) {
                                                    $(".progress-label").html("上传出错：" + progress);
                                                } else if (progress == 100) {
                                                    $(".progress-label").html("进度：100% 上传完成");
                                                } else {
                                                    $(".progress-label").html("进度：" + progress + "%");
                                                }
                                            }
</script>


                                    </td>
                                </tr>
                                <tr>
                                    <td style="width: 100%;" colspan="2">
                                        <div class="panl_title" style="margin-bottom: 5px;">展板信息</div>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">&nbsp;</td>
                                    <td class="mt10">
                                        <button id="btenter" type="submit" class="y-btn-inpt y-btn-blue" style="width: 93px; height: 36px; margin-top: 15px; line-height: 36px; border: 1px solid #4aa4e1; border-radius: 2px; box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.3);">确定</button>

                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </form>

                </div>
                <script type="text/javascript">



                    var nowurl = "/Members/OnLineExpo/OnLineExpoInfo/ExpoBand?id=0&showType=1 &pcount=20";
                    $(".selecttype").attr("href", nowurl);


                    $("#ExpoAreaId").change(function () {
                        var avalue = $(this).val();
                        var nowurl = "/Members/OnLineExpo/OnLineExpoInfo/ExpoBand?id=0&showType=" + avalue + "&pcount=20";
                        $(".selecttype").attr("href", nowurl);
                        $("#productpage").html("");
                        $("#productlist").val("");

                    })

                    ///删除视频
                    function DeleteVideo() {
                        if (window.confirm("确定要删除当前视频吗？")) {
                            var pajurl = "/Members/OnLineExpoInfo/DeleteVideo";
                            $.ajax({
                                url: pajurl,
                                cache: false,
                                success: function (data) {
                                    alert("删除成功");
                                    $("#videoinfo").remove();
                                    $("#deletevideo").remove();
                                    $("#videoidshow").val("");

                                }
                            });
                        }
                    }


</script>

            </div>
        </div>
</body>
</html>
